﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
	
	<sec:authentication property="principal" var="currentPrincipal" scope="page" />

	<li class="dropdown no-hover">
	  <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">我的项目&nbsp;
	    <b class="glyphicon glyphicon-chevron-down"></b>
	  </a>
	  <div class="dropdown-menu dropdown-menu-arrow"></div>
	  <ul class="dropdown-menu">
	    <li><a href="#"><span class="badge zz-bg-primary pull-right">2</span>关注</a></li>
	    <li><a href="#"><span class="badge zz-bg-primary pull-right">1</span>约谈</a></li>
	    <li><a href="#"><span class="badge zz-bg-primary pull-right">0</span>已投资</a></li>
	  </ul>
	</li>
	<li class="dropdown no-hover">
	  <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">消息&nbsp;
	    <span class="badge zz-bg-orange">3</span>&nbsp;<b class="glyphicon glyphicon-chevron-down"></b>
	  </a>
	  <div class="dropdown-menu dropdown-menu-arrow"></div>
	  <ul class="dropdown-menu">
	    <li><a href="#"><span class="badge zz-bg-orange pull-right">1</span>评论</a></li>
	    <li><a href="#">私信</a></li>
	    <li><a href="#"><span class="badge zz-bg-orange pull-right">2</span>站内</a></li>
	  </ul>
	</li>
	<li class="dropdown no-hover zz-navbar-account">
	  <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
	    <img class="img-circle" src="${ctx.upload}/${currentPrincipal.profile.avatar}">&nbsp;
	    <b class="glyphicon glyphicon-chevron-down"></b>
	  </a>
	  <div class="dropdown-menu dropdown-menu-arrow"></div>
	  <ul class="dropdown-menu">
	    <li><a href="#"><i class="glyphicon glyphicon-user"></i>&nbsp;&nbsp;个人主页</a></li>
	    <li><a href="#"><i class="glyphicon glyphicon-cog"></i>&nbsp;&nbsp;账户设置</a></li>
	    <li><a href="${ctx}/j_spring_security_logout"><i class="glyphicon glyphicon-off"></i>&nbsp;&nbsp;注销登陆</a></li>
	  </ul>
	</li>
